﻿using Owin;
using Microsoft.Owin;
using Microsoft.AspNet.SignalR;

[assembly: OwinStartup(typeof(ChatSampleSR.Startup))]
namespace ChatSampleSR
{
    public partial class Startup
    {
        public void Configuration(IAppBuilder app)
        {
            string connectionString = "Endpoint=sb://samplechat-scaleout.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=6ziOMe1ILkE5Yqucer4k76xxxx";
            GlobalHost.DependencyResolver.UseServiceBus(connectionString, "Chat"); 
           
            app.MapSignalR();
        }
    }
}
